import { network } from '@/utils';
import { TableListParams, OfflineParams } from './data.d';

import { partner } from '../../../../../config/Apis';

export async function queryFranchiseeList(params: TableListParams) {
  params._content_type = 'json';
  return network.get(partner.franchisee_list, {
    params,
  });
}

export async function offlineFranchisee(params: OfflineParams) {
  return network.get(partner.franchisee_set_offline, {
    params,
  });
}
